/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const configRouter =  {
    path: '/tools',
    component: Layout,
    meta: { title: '工具', icon: 'nested' },
    order: 1,
    roles: ['admin'],
    children: [
      {
        path: 'tool',
        name: 'tool',
        component: () => import('@/views/tools/index'),
        meta: { title: '工具', icon: 'tool' }
      }
      ,{
        path: 'calendar',
        name: 'Calendar',
        component: () => import('@/views/tools/calendar'),
        meta: { title: '日历', icon: 'date' }
      }
    ]
  }

export default configRouter
